package com.zhy.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * 事件的配置类
 * @Configuration声明当前类是一个配置类,相当于一个Spring配置的xml文件
 * @ComponentScan自动扫描包下面所有使用@Service @Controller @Component @Repository的类，并注册为Bean
 * Created by zhy on 2017/4/27.
 */
@Configuration
@ComponentScan("com.zhy.listener")
public class EventConfig {



}
